﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public class LoginResult
{

     /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)]
    public string MetaDataServerUrl
    {
        get;
        set;
    }

    /// <remarks/>
    public bool PasswordExpired
    {
        get;
        set;
    }

    /// <remarks/>
    public bool Sandbox
    {
        get;
        set;
    }

    /// <remarks/>
    public bool IsLock
    {
        get;
        set;
    }

    public string Organization
    {
        get;
        set;

    }

    public string DomainID
    {
        get;
        set;

    }

    /// <summary>
    /// 职位代码
    /// </summary>
    public string PositionCode
    {
        get;
        set;
    }




    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)]
    public string ServerUrl
    {
        get;
        set;
    }

    public string ServerTime
    {
        get;
        set;
    }


    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)]
    public string SessionId
    {
        get;
        set;
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)]
    public string EmployeeID
    {
        get;
        set;
    }


    public string EmployeeCode
    {
        get;set;
    }


    public string UserID
    {
        get;
        set;
    }

    public string PERSON_ID
    {
        get;
        set;
    }

    public string UserToken
    {
        get;
        set;
    }

    public string UserCode
    {
        get;
        set;
    }

    public string UserName
    {
        get;
        set;
    }

    public Boolean LoginSuccessful
    {
        get;
        set;
    }

    public String Message
    {
        get;
        set;
    }

    public object[] ValuesList
    {
        get;
        set;
    }
    /// <summary>
    /// 
    /// 需要修改密码，假如后台设定需要修改密码，则从这个属性来判断是否需要修改密码
    /// </summary>
    public Boolean NeedToChangePassword
    {
        get;
        set;
    }

    /// <summary>
    /// 设备未通过验证
    /// </summary>
    public Boolean DeviceUnAuthorization
    {
        get;
        set;
    }

    public String Version
    {
        get;
        set;
    }

    public String CabFile
    {
        get;
        set;
    }

   
}
